﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Farming.Domain.DTO
{
    public class LoginResult
    {
        public int Code {  get; set; }
        public string Message { get; set; }
       public int AdminId {  get; set; }
        public string Username { get; set; }
        public string PassWord { get; set; }
        public string LastLoginIp { get; set; }
        public DateTime? LastLoginTime { get; set; }
    }
    public class LoginResult<TData> : LoginResult
    {
        public TData Data { get; set; }
    }
}
